package pers.dawnyang.common.core.domain.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * sys_role--实体类
 * 
 * @author: dawn yang
 * @date: 2021-02-10 10:16:59
 * 
 */

@Data
@TableName("sys_role")
public class SysRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_id", type = IdType.AUTO)
    private Long roleId;

    @TableField(value = "role_code")
    private String roleCode;

    @TableField(value = "role_name")
    private String roleName;

    @TableField(value = "role_sort")
    private Long roleSort;

    @TableField(value = "data_scope")
    private String dataScope;

    @TableField(value = "role_status")
    private Integer roleStatus;

    @TableField(value = "remark")
    private String remark;
    /**
     * 创建者
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private String createUser;
    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private java.util.Date createTime;
    /**
     * 更新者
     */
    @TableField(value = "update_user", fill = FieldFill.INSERT_UPDATE)
    private String updateUser;
    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private java.util.Date updateTime;
}
